package me.huqiao.loganlyzer.console;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class ShowHeadMsg {
    private String logPattern;
    private String logPatternOld[];
    private String logPatterns[];
    //标题
    private String headMsg="-";
    //独立访客
    private String singleRequestCount="-";
    private int singleRequestCountInt=-1;
    //ip请求数据
    private  List<Map<String,String>> ipRequestMap = new ArrayList<Map<String,String>>();
    //请求文件数
    private String requestFileCount="-";
    private int requestFileCountInt=-1;
    //来源地址
    private String requestAddressCount="-";
    private int requestAddressCountInt=-1;

    //有效请求
    private String availableRequestCount="-";
    private int availableRequestCountInt=-1;

    //分析耗时
    private String analysisTime="-";
    private int analysisTimeInt=-1;

    //静态文件
    private String staticFileCount="-";
    private int staticFileCountInt=-1;

    //日志大小
    private String logSize="-";
    private int logSizeInt=-1;

    //200请求
    private int requestStatusCountInt=-1;

//    private String request200Count="-";
//    //404请求
//    private String request404Count="-";
//    private String request400Count="-";
//    private String request405Count="-";
//    //500请求
//    private String request500Count="-";
    private  List<Map<String,String>> httpStatusMap = new ArrayList<Map<String,String>>();

    //请求总数
    private String requestTotalCount="-";
    private int requestTotalCountInt=-1;

    //url请求信息
    private List<Map<String,String>> urlFilterMap = new ArrayList<Map<String,String>>();
    public String getHeadMsg() {
        return headMsg;
    }

    public void setHeadMsg(String headMsg) {
        this.headMsg = headMsg;
    }

    public String getSingleRequestCount() {
        return singleRequestCount;
    }

    public void setSingleRequestCount(String singleRequestCount) {
        this.singleRequestCount = singleRequestCount;
    }

    public String getRequestFileCount() {
        return requestFileCount;
    }

    public void setRequestFileCount(String requestFileCount) {
        this.requestFileCount = requestFileCount;
    }

    public String getRequestAddressCount() {
        return requestAddressCount;
    }

    public void setRequestAddressCount(String requestAddressCount) {
        this.requestAddressCount = requestAddressCount;
    }

    public String getAvailableRequestCount() {
        return availableRequestCount;
    }

    public void setAvailableRequestCount(String availableRequestCount) {
        this.availableRequestCount = availableRequestCount;
    }

    public String getAnalysisTime() {
        return analysisTime;
    }

    public void setAnalysisTime(String analysisTime) {
        this.analysisTime = analysisTime;
    }

    public String getStaticFileCount() {
        return staticFileCount;
    }

    public void setStaticFileCount(String staticFileCount) {
        this.staticFileCount = staticFileCount;
    }

    public String getLogSize() {
        return logSize;
    }

    public void setLogSize(String logSize) {
        this.logSize = logSize;
    }

//    public String getRequest200Count() {
//        return request200Count;
//    }
//
//    public void setRequest200Count(String request200Count) {
//        this.request200Count = request200Count;
//    }
//
//    public String getRequest404Count() {
//        return request404Count;
//    }
//
//    public void setRequest404Count(String request404Count) {
//        this.request404Count = request404Count;
//    }
//
//    public String getRequest500Count() {
//        return request500Count;
//    }
//
//    public void setRequest500Count(String request500Count) {
//        this.request500Count = request500Count;
//    }
//
//    public String getRequest400Count() {
//        return request400Count;
//    }
//
//    public void setRequest400Count(String request400Count) {
//        this.request400Count = request400Count;
//    }
//
//    public String getRequest405Count() {
//        return request405Count;
//    }
//
//    public void setRequest405Count(String request405Count) {
//        this.request405Count = request405Count;
//    }

    public int getSingleRequestCountInt() {
        return singleRequestCountInt;
    }

    public void setSingleRequestCountInt(int singleRequestCountInt) {
        this.singleRequestCountInt = singleRequestCountInt;
    }

    public int getRequestFileCountInt() {
        return requestFileCountInt;
    }

    public void setRequestFileCountInt(int requestFileCountInt) {
        this.requestFileCountInt = requestFileCountInt;
    }

    public int getRequestAddressCountInt() {
        return requestAddressCountInt;
    }

    public void setRequestAddressCountInt(int requestAddressCountInt) {
        this.requestAddressCountInt = requestAddressCountInt;
    }

    public int getAvailableRequestCountInt() {
        return availableRequestCountInt;
    }

    public void setAvailableRequestCountInt(int availableRequestCountInt) {
        this.availableRequestCountInt = availableRequestCountInt;
    }

    public int getAnalysisTimeInt() {
        return analysisTimeInt;
    }

    public void setAnalysisTimeInt(int analysisTimeInt) {
        this.analysisTimeInt = analysisTimeInt;
    }

    public int getStaticFileCountInt() {
        return staticFileCountInt;
    }

    public void setStaticFileCountInt(int staticFileCountInt) {
        this.staticFileCountInt = staticFileCountInt;
    }

    public int getLogSizeInt() {
        return logSizeInt;
    }

    public void setLogSizeInt(int logSizeInt) {
        this.logSizeInt = logSizeInt;
    }

    public int getRequestTotalCountInt() {
        return requestTotalCountInt;
    }

    public void setRequestTotalCountInt(int requestTotalCountInt) {
        this.requestTotalCountInt = requestTotalCountInt;
    }

    public int getRequestStatusCountInt() {
        return requestStatusCountInt;
    }

    public void setRequestStatusCountInt(int requestStatusCountInt) {
        this.requestStatusCountInt = requestStatusCountInt;
    }

    public String getLogPattern() {
        return logPattern;
    }

    public void setLogPattern(String logPattern) {
        this.logPattern = logPattern;
    }

    public String[] getLogPatterns() {
        return logPatterns;
    }

    public void setLogPatterns(String[] logPatterns) {
        this.logPatterns = logPatterns;
    }

    public String[] getLogPatternOld() {
        return logPatternOld;
    }

    public void setLogPatternOld(String[] logPatternOld) {
        this.logPatternOld = logPatternOld;
    }

    public List<Map<String, String>> getHttpStatusMap() {
        return httpStatusMap;
    }

    public void setHttpStatusMap(List<Map<String, String>> httpStatusMap) {
        this.httpStatusMap = httpStatusMap;
    }

    public String getRequestTotalCount() {
        return requestTotalCount;
    }

    public void setRequestTotalCount(String requestTotalCount) {
        this.requestTotalCount = requestTotalCount;
    }

    public List<Map<String, String>> getIpRequestMap() {
        return ipRequestMap;
    }

    public void setIpRequestMap(List<Map<String, String>> ipRequestMap) {
        this.ipRequestMap = ipRequestMap;
    }

    public List<Map<String, String>> getUrlFilterMap() {
        return urlFilterMap;
    }

    public void setUrlFilterMap(List<Map<String, String>> urlFilterMap) {
        this.urlFilterMap = urlFilterMap;
    }
}
